<?php get_header(); ?>

        <!-- MIDDLE -->
        <section class="middle row">
		
            <!-- CONTENT -->
            <div class="span8 content">
			
                <!-- PAGE HEADER -->
                <div class="page-header">
				
					<h1>
					
						<b><?php single_post_title(); ?></b>
						
						<small><?php echo get_post_meta( get_the_ID(), 'page_subtitle', true ); ?></small>
						
					</h1>
					
				</div>
                <!-- end PAGE HEADER -->
				
				<!-- ARCHIVE -->
                <div class="archives row">
				
                	<div class="span4">
					
                    	<h3><?php echo __( 'PAGES', 'responsy' ); ?></h3>
						
                    	<ul class="list slash">
						
							<?php
								
								wp_list_pages( 'title_li=' );
								
							?>
							
                        </ul>
						
                    </div>
					
                    <div class="span4">
					
                    	<h3><?php echo __( 'POST ARCHIVES', 'responsy' ); ?></h3>
						
                    	<ul class="list slash">
						
							<?php
							
								if ( get_option( 'hide_post_counts' ) ) { $count_out = 0; } else { $count_out = 1; }
								
								wp_get_archives( array( 'show_post_count' => $count_out ) );
								
							?>
							
                        </ul>
						
                    </div>
					
                    <div class="span4 clear">
					
                    	<h3><?php echo __( 'CATEGORIES', 'responsy' ); ?></h3>
						
                    	<ul class="list slash">
						
							<?php
							
								wp_list_categories( array( 'title_li' => '', 'show_count' => $count_out ) );
								
							?>
                        </ul>
						
                    </div>
					
                    <div class="span4">
					
                    	<h3><?php echo __( 'PORTFOLIO', 'responsy' ); ?></h3>
						
                    	<ul class="list slash">
						
							<?php
							
								wp_list_categories( array( 'taxonomy' => 'department', 'title_li' => '', 'show_count' => $count_out ) );
								
							?>
                        </ul>
						
                    </div>
					
                </div>
				<!-- end ARCHIVE -->
				
				<?php
				
					if ( have_posts() ) :

						while ( have_posts() ) : the_post();
					
							the_content();
							
							comments_template( '', true );
						
						endwhile;
						
					endif;
					
				?>
				
            </div>
            <!-- end CONTENT -->
			
            <!-- SIDEBAR -->
			<?php
			
				get_sidebar();
				
			?>
            <!-- end SIDEBAR -->
			
        </section>
        <!-- end MIDDLE -->
		
    </div>
    <!-- end CONTAINER -->

<?php

	get_footer();
?>